from tkinter import *
from PIL import ImageTk

root = Tk()
photo = ImageTk.PhotoImage(file='cat_200_300.jpg')
Label(root,image=photo).place(relx=0.5,rely=0.5,anchor=CENTER)

def callback():
    print('>^ω^<')

Button(root,text='喵',command=callback)\
                                         .place(relx=0.5,\
                                                rely=0.5,\
                                                anchor=CENTER)
'''
Label(root,bg='red')\
                      .place(relx=0.5,\
                             rely=0.5,\
                             anchor=CENTER,\
                             relheight=0.75,\
                             relwidth=0.75)
Label(root,bg='yellow')\
                      .place(relx=0.5,\
                             rely=0.5,\
                             anchor=CENTER,\
                             relheight=0.5,\
                             relwidth=0.5)
Label(root,bg='green')\
                      .place(relx=0.5,\
                             rely=0.5,\
                             anchor=CENTER,\
                             relheight=0.25,\
                             relwidth=0.25)
'''
                                                
mainloop()
